{extend name="base"/}
{block name="content"}
<div style="padding: 15px;">
    <fieldset class="layui-elem-field">
        <legend>记录管理 - 保证金记录</legend>
        <div class="layui-field-box">
          <form class="layui-form" action="">
            <div class="layui-inline">
          <div class="layui-input-inline">
              <input type="text" class="layui-input searchVal" placeholder="请输入搜索的会员id">
          </div>
          <a class="layui-btn search_btn" data-type="reload">搜索</a>
      </div>
          </form>
          <hr>
          <table id="list" lay-filter="margin" ></table>
        </div>
    </fieldset>
  </div>
  
{/block}
{block name="js"}
<script type="text/javascript" src="__ADMIN__/js/margin.js"></script>
<script type="text/html" id="barDemo">
    {{# if(d.status== '0'){ }}
    <a class="layui-btn layui-btn-danger layui-btn-xs" data-id="{{d.id}}" style="background-color: #227dff;" lay-event="pass">审核通过</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" data-id="{{d.id}}" style="background-color: #ff5722;" lay-event="back">退回</a>
    {{# }else if(d.status== '1'){ }}
    <a class="layui-btn layui-btn-danger layui-btn-xs" data-id="{{d.id}}" style="background-color: #ff5722;" lay-event="back">退回</a>
    {{# }else{ }}

    {{# } }}

</script>
{/block}
